package com.dragon.pear.models.params.update;

import java.sql.Timestamp;
import java.sql.Timestamp;

/**
 * @author Chris Chan
 * Create on 2025-09-30 22:44
 * Use for: 心愿 数据更新参数
 * Explain:
 * 
 */
public class TradeUserWishUpdateParam {
    // ID
    private long id;
    // 用户账号
    private long accountCode;
    // 商品分类编码
    private long cateCode;
    // 商品分类标签
    private String cateLabel;
    // 商品匹配关键词
    private String goodsWords;
    // 地址匹配关键词 用英文逗号分割
    private String addressWords;
    // 创建时间
    private long time;
    // 过期时间
    private long expireTime;

    // 无参构造方法
    public TradeUserWishUpdateParam() {
    }

    // 全参数构造方法
    public TradeUserWishUpdateParam(long id, long accountCode, long cateCode, String cateLabel, String goodsWords, String addressWords, long time, long expireTime) {
        this.id = id;
        this.accountCode = accountCode;
        this.cateCode = cateCode;
        this.cateLabel = cateLabel;
        this.goodsWords = goodsWords;
        this.addressWords = addressWords;
        this.time = time;
        this.expireTime = expireTime;
    }

    // 全参数create生成器
    public static TradeUserWishUpdateParam create(long id, long accountCode, long cateCode, String cateLabel, String goodsWords, String addressWords, long time, long expireTime) {
        return new TradeUserWishUpdateParam(id, accountCode, cateCode, cateLabel, goodsWords, addressWords, time, expireTime);
    }

    // 全参数of生成器
    public static TradeUserWishUpdateParam of(long id, long accountCode, long cateCode, String cateLabel, String goodsWords, String addressWords, long time, long expireTime) {
        return new TradeUserWishUpdateParam(id, accountCode, cateCode, cateLabel, goodsWords, addressWords, time, expireTime);
    }
    // region Getter和Setter方法
    public long getId() {
        return id;
    }

    public TradeUserWishUpdateParam setId(long id) {
        this.id = id;
        return this;
    }

    public long getAccountCode() {
        return accountCode;
    }

    public TradeUserWishUpdateParam setAccountCode(long accountCode) {
        this.accountCode = accountCode;
        return this;
    }

    public long getCateCode() {
        return cateCode;
    }

    public TradeUserWishUpdateParam setCateCode(long cateCode) {
        this.cateCode = cateCode;
        return this;
    }

    public String getCateLabel() {
        return cateLabel;
    }

    public TradeUserWishUpdateParam setCateLabel(String cateLabel) {
        this.cateLabel = cateLabel;
        return this;
    }

    public String getGoodsWords() {
        return goodsWords;
    }

    public TradeUserWishUpdateParam setGoodsWords(String goodsWords) {
        this.goodsWords = goodsWords;
        return this;
    }

    public String getAddressWords() {
        return addressWords;
    }

    public TradeUserWishUpdateParam setAddressWords(String addressWords) {
        this.addressWords = addressWords;
        return this;
    }

    public long getTime() {
        return time;
    }

    public TradeUserWishUpdateParam setTime(long time) {
        this.time = time;
        return this;
    }

    public long getExpireTime() {
        return expireTime;
    }

    public TradeUserWishUpdateParam setExpireTime(long expireTime) {
        this.expireTime = expireTime;
        return this;
    }

    // endregion Getter和Setter方法
}
